<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link href="${basePath}/public/lib/lightbox2/2.8.1/css/lightbox.css" rel="stylesheet" type="text/css" >
<#include "lib/lib.html" />
<title>申诉管理</title>
</head>
<body>
	<nav class="breadcrumb">
	 	 <i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 申诉管理 <span class="c-gray en">&gt;</span> 申诉列表
		 <a  class="btn btn-success radius r mr-20"  style="line-height: 1.6em; margin-top: 3px" href="javascript:location.replace(location.href);" title="刷新">
		 <i class="Hui-iconfont">&#xe68f;</i></a>
	</nav>
	<div class="pd-20 text-c">
		<div class="text-c">
			<form action="${basePath}/opinion/list.do">
				<input type="search" name="linkMan" id="linkMan" placeholder="联系人姓名" value='${map.linkMan}' style="width: 250px" class="input-text">
				<input type="search" name="linkTel" id="linkTel" placeholder="联系人电话" value='${map.linkTel}' style="width: 250px" class="input-text">
				是否匿名<select  name="isanonymous" style="width: 150px;height: 29px;">
					<option value="">请选择</option>
					<option value="1" <#if map.isanonymous==1>selected</#if>>是</option>
					<option value="2" <#if map.isanonymous==2>selected</#if>>否</option>
				</select>
				<button name="" id="" class="btn btn-success" type="submit"> <i class="Hui-iconfont">&#xe665;</i> 搜索 </button>
			</form>
		</div>
		<div class="mt-20">
			<div id="page" class="holder"></div>  
			<table class="table table-border table-bordered table-hover table-bg table-sort">
				<thead>
					<tr class="text-c">
						<th width="3%"></th>
						<th width="10%">用户昵称</th>
						<th width="6%">联系人</th>
						<th width="6%">联系人电话</th>
						<th width="6%">是否匿名</th>
						<th width="25%">申诉内容</th>
						<th width="22%">图片</th>
						<th width="8%">创建时间</th>
					</tr>
				</thead>
				<tbody>
					<#if list.dataList?? && list.dataList?size gt 0>
					<#list list.dataList as dl >
						<tr class="text-c">
							<td>${dl_index+1}</td>
							<td>${dl.userNick!}</td>
							<td>${dl.linkMan!}</td>
							<td>${dl.linkTel!}</td>
							<td>
								<#if dl.isanonymous == 1>
									是
								<#else>
									否
								</#if>
							</td>
							<td>${dl.descs!}</td>
							<td>
								<#if dl.imageList?? && dl.imageList?size gt 0>
									<#list dl.imageList as imga >
										<a href="${imga!}" data-lightbox="gallery" data-title="">
										<img alt="" src="${imga!}" width="100px" height="80px">
										</a>
									</#list>
								</#if>
							</td>
							<td>${dl.createTime?string('yyyy-MM-dd')}</td>
						</tr>
					</#list>
					</#if>
				</tbody>
			</table>
			</br>
			<div class="page_list"></div>
		</div>
	</div>
	<script type="text/javascript" src="${basePath}/public/lib/lightbox2/2.8.1/js/lightbox-plus-jquery.min.js"></script>
	<script type="text/javascript" src="${basePath}/public/lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript">
	$(function(){
	 	laypage({
	 	    cont: $('.page_list'), //容器。值支持id名、原生dom对象，jquery对象,
		    pages: ${list.endPage! }, //总页数
	 	    //skip: true, //是否开启跳页
// 	    	skin: 'molv',
	 	    groups: 10, //连续显示分页数
	 	    first: '首页', //若不显示，设置false即可
	 	    last: '尾页', //若不显示，设置false即可
	 	    curr:${list.curPage!},
	 	   	hash: true, //开启hash
	 	    skin: '#00AA91',
	 	    jump: function(obj,first){ //触发分页后的回调
// 	 	       $('.view').html('目前正在第'+ obj.curr +'页，一共有：'+ obj.pages +'页');
	 	    	if(!first){
	 	         	 window.location.href="${basePath}/opinion/list.do?curPage="+obj.curr +"&pageData="+10;
	 	    	}
	 	    }
	 	});
	 			
	});
	</script>
</body>
</html>